---
layout: "default"
title: "Operator: !=="
description: "Swift documentation for the '!==' operator."
root: "/v2.1"
---

<code class="language-swift">infix operator !== {
    associativity none
    precedence 130
}</code>

<h3>Declarations</h3>

<div class="declaration" id="func-excleqeq_-anyobject-rhs_-anyobject">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-excleqeq_-anyobject-rhs_-anyobject">func !==(<wbr>_:<wbr> AnyObject?, rhs: AnyObject?)</a>
        
<div class="comment collapse" id="comment-func-excleqeq_-anyobject-rhs_-anyobject"><div class="p">
    

    <h4>Declaration</h4>    
    <code class="language-swift">func !==(lhs: AnyObject?, rhs: AnyObject?) -&gt; Bool</code>
    
    
</div></div>
</div>
<div class="declaration" id="func-excleqeq-l_-anycollectiontype-r_-anycollectiontype_-l-rhs_-r">
<a class="toggle-link" data-toggle="collapse" href="#comment-func-excleqeq-l_-anycollectiontype-r_-anycollectiontype_-l-rhs_-r">func <wbr>!== &lt;L :<wbr> AnyCollectionType, R : AnyCollectionType&gt;(<wbr>_:<wbr> L, rhs: R)</a>
        
<div class="comment collapse" id="comment-func-excleqeq-l_-anycollectiontype-r_-anycollectiontype_-l-rhs_-r"><div class="p">
    <p>Returns false iff <code>lhs</code> and <code>rhs</code> store the same underlying collection.</p>

    <h4>Declaration</h4>    
    <code class="language-swift">func !==&lt;L : AnyCollectionType, R : AnyCollectionType&gt;(lhs: L, rhs: R) -&gt; Bool</code>
    
    
</div></div>
</div>
